<?php

/*  lamp-shade_0.1
 *  License: GNU GPL v3
 *  File: ./modules/page/default_header.php
 *  Last Mod.:  02/11/11 by Werner
 *  Authors:    Werner Roets
 *              Frank Adrian
 *  Description:
 *  This class contains the specification for footer classes.
 */

require_once("./modules/page/header.php");
class Default_header extends Header
{
    public $Heading_size = "";//dont think we really need this...
    
    public function __construct($heading)
    {
        $this->Heading_text = $heading;
    }
    
    public function Render()
    {
        if(isset($this->Heading_size))
        {
            print <<<EOF
            
            <!-- Header -->
            <div id="header">
                <{$this->Heading_size}>
                    {$this->Heading_text}
                </{$this->Heading_size}>
            </div>
            <!-- end Header -->
EOF;
        }
        else
        {
            print "
                    {$this->Heading_text}";
        }
        
    }
}
?>